package light.head.dao.inv;

import java.util.List;

import org.springframework.stereotype.Service;

import light.head.framework.base.BaseDAO;
import light.head.model.inv.InvAllocateItem;
@Service
public class InvAllocateItemDAO extends BaseDAO<InvAllocateItem, Integer>{
	private final static String sql_findIac = "FROM InvAllocateItem item WHERE item.deleted = 0 AND item.iac = ?";
	/**
	 * 通过调拨编号查询调拨详情
	 * @param iac		调拨编号
	 */
	public List<InvAllocateItem> findIac(Integer iac) {
		if (null == iac) return null;
		return find(sql_findIac, null, null, iac);
	}
}
